home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr49
/
273_01.zip
/
STRXFORM.CC
< prev
next >
Wrap
Text File
|
1993-04-04
|
249b
|
11 lines
str_xform(char *str,char from,char to)
/* This function will transform all characters in the string pointed to
by *str that are the same as the from character to the to char.
*/
{
while(*str) {
if(*str==from) *str=to;
str++;
}
}